package com.kingsoft.miot.bridge.controller.req;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.Min;

/**
 * 页面 请求
 * 
 * @author melody
 *
 */
public class ReqBody implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -364242976575481986L;

	// 当前页
	@Min(1)
	private int page;
	// 当前页大小
	@Min(1)
	private int size;
	// 排序条件list
	private List<OrderBy> orders;

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public List<OrderBy> getOrders() {
		return orders;
	}

	public void setOrders(List<OrderBy> orders) {
		this.orders = orders;
	}

	
}
